package com.sciencep.pro.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sciencep.pro.common.domain.ResponseResult;
import com.sciencep.pro.core.domain.dto.calendarinfo.CalendarInfoTO;
import com.sciencep.pro.core.domain.entity.CalendarInfo;

import java.util.List;

/**
 * @author Sciencep
 */
public interface ICalendarInfoService extends IService<CalendarInfo> {

    void deleteByYear(Integer year);

    ResponseResult<Object> selectByYear(CalendarInfoTO calendarInfoTO);

    ResponseResult<CalendarInfo> saveCalendar(List<CalendarInfoTO> calendarInfoTOList);

    ResponseResult<Object> createCalendar(Integer year);

}
